/**
 * 2013 2013-5-8
 */
package com.surfilter.dp.model;

import java.util.Date;

/**
 */
public class ModuleModel implements IModel {
	private int id;
	private String moduleName;
	private String moduleText;
	private String pname;
	//0 : root模块 ，用做组织模块树关系，无实际意义
	//1 : 目录模块，不包含具体行为action，只是作为模块大分类
	//2 : 功能模块，通常对应一个具体的窗口 ，下一级为ACTION
	private int moduleType;
	//1 : 有效 ; 2 : 无效
	private Date createTime;
	private int createUser;
	private Date updateTime;
	private int updateUser;
	private String serviceName;
	private String serviceCls;
	private int sortIndex;
	private String remark;
	private int validFlag=1;
	private String codePath;
	private String tableName;
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the moduleName
	 */
	public String getModuleName() {
		return moduleName;
	}
	/**
	 * @param moduleName the moduleName to set
	 */
	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}
	/**
	 * @return the moduleText
	 */
	public String getModuleText() {
		return moduleText;
	}
	/**
	 * @param moduleText the moduleText to set
	 */
	public void setModuleText(String moduleText) {
		this.moduleText = moduleText;
	}
	/**
	 * @return the pname
	 */
	public String getPname() {
		return pname;
	}
	/**
	 * @param pname the pname to set
	 */
	public void setPname(String pname) {
		this.pname = pname;
	}
	/**
	 * @return the moduleType
	 */
	public int getModuleType() {
		return moduleType;
	}
	/**
	 * @param moduleType the moduleType to set
	 */
	public void setModuleType(int moduleType) {
		this.moduleType = moduleType;
	}
	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the createUser
	 */
	public int getCreateUser() {
		return createUser;
	}
	/**
	 * @param createUser the createUser to set
	 */
	public void setCreateUser(int createUser) {
		this.createUser = createUser;
	}
	/**
	 * @return the updateTime
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * @param updateTime the updateTime to set
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * @return the updateUser
	 */
	public int getUpdateUser() {
		return updateUser;
	}
	/**
	 * @param updateUser the updateUser to set
	 */
	public void setUpdateUser(int updateUser) {
		this.updateUser = updateUser;
	}
	/**
	 * @return the serviceName
	 */
	public String getServiceName() {
		return serviceName;
	}
	/**
	 * @param serviceName the serviceName to set
	 */
	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}
	/**
	 * @return the serviceCls
	 */
	public String getServiceCls() {
		return serviceCls;
	}
	/**
	 * @param serviceCls the serviceCls to set
	 */
	public void setServiceCls(String serviceCls) {
		this.serviceCls = serviceCls;
	}
	/**
	 * @return the sortIndex
	 */
	public int getSortIndex() {
		return sortIndex;
	}
	/**
	 * @param sortIndex the sortIndex to set
	 */
	public void setSortIndex(int sortIndex) {
		this.sortIndex = sortIndex;
	}
	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * @return the validFlag
	 */
	public int getValidFlag() {
		return validFlag;
	}
	/**
	 * @param validFlag the validFlag to set
	 */
	public void setValidFlag(int validFlag) {
		this.validFlag = validFlag;
	}
	/**
	 * @return the codePath
	 */
	public String getCodePath() {
		return codePath;
	}
	/**
	 * @return the tableName
	 */
	public String getTableName() {
		return tableName;
	}
	/**
	 * @param tableName the tableName to set
	 */
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	/**
	 * @param codePath the codePath to set
	 */
	public void setCodePath(String codePath) {
		this.codePath = codePath;
	}
	
	
}
